#global rank,size,comm, root
#global combd
from mpi4py import MPI

comm=MPI.COMM_WORLD
rank=comm.Get_rank()
size=comm.Get_size()
root=0

nsplit=4
# nsplit=3
color=int(rank/int(size/nsplit))

new_comm=comm.Split(color)
new_rank=new_comm.Get_rank()
new_size=new_comm.Get_size()

#combd=[]
#
#root=0
